package de.htw.praxisprojekt.actions;

import java.awt.Desktop;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;

public class HelpAction implements ActionListener{

	public void actionPerformed(ActionEvent arg0){
		File pdfFile=new File("help.pdf");
		if(pdfFile.exists()){
			try{
				Desktop.getDesktop().open(pdfFile);
			}catch(IOException e){
				e.printStackTrace();
			}
		}
	}
}